package com.jyh.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jyh.blog.dto.AlbumBackDTO;
import com.jyh.blog.entity.Album;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (Album)表数据库访问层
 *
 * @author jyh
 * @since 2023-02-12 15:37:28
 */
@Repository
public interface AlbumDao extends BaseMapper<Album> {

    List<AlbumBackDTO> albumBackList(@Param("current") Long limitCurrent, @Param("size") Long size, @Param("keyword") String keyword);
}

